package cn.bugstack.domain.auth.adapter.port;


import java.io.IOException;

/**
 * @author 丨一
 * @version 1.0
 * @title ILoginPort
 * @description:
 * @date 2024/11/12 13:48
 */
public interface ILoginPort {

    String createQrCodeTicket() throws Exception;

    String checkLogin(String ticket);

    void saveLoginState(String ticket, String openid);

    void sendLoginTemplate(String openid) throws IOException;
}
